import { UPDATA_SYSTEM } from '../actionTypes'

const INITCONFIG = {}

export default function config(state = INITCONFIG, action) {
  switch (action.type) {
    case UPDATA_SYSTEM:
    	return Object.assign({}, state, action.data)
    default:
      	return state
  }
}